\documentclass[10pt]{article}
%Paketai----------------------------------------------
 \usepackage[L7x]{fontenc}
 \usepackage[lithuanian]{babel}
 \usepackage{graphicx}
 \usepackage{latexsym}
 \usepackage{amssymb}
 \usepackage{amsmath}
 \newtheorem{thm}{Teorema}
 \newtheorem{cor}[thm]{Ivada}
 \newtheorem{lem}[thm]{Lema}
 \newtheorem{prop}[thm]{Teiginys}
 \newtheorem{defn}[thm]{Apibrimas}
 \newtheorem{rem}[thm]{Pastaba}
 \def\institution#1{{\raggedright #1}}
 \def\address#1{\newline ${\ }$ \emph{#1}}
 \def\emaill#1{{\raggedright el.~patas:\ {#1}}}
 \def\email#1{\newline {\raggedright ${\qquad\qquad}${#1}}}
 \def\dedication#1{\vspace{2mm}{\raggedright\qquad\emph{Dedikuotas {#1}}\vspace{2mm}}}
 \def\abstract#1{\vspace{2mm}{\raggedright\textbf{Santrauka}. {#1}\vspace{1mm}}}
 \def\keywords#1{{\raggedright\emph{Raktiniai odiai}: {#1}}}
 \def\Summary#1#2#3#4{\vspace{2mm}{\textbf{Summary}}\vspace{2mm}\newline{\textbf{#1}}\newline{\emph{#2}}\newline{#3}\newline{{\emph{Keywords:\ }}#4}}
 \def\boldhline{\noalign{\global\arrayrulewidth.8pt}\hline\noalign{\global\arrayrulewidth.4pt}}
% papildomi Paketai----------------------------------------------
 \usepackage{color}
% TITLE --------------------------------------------------
\title{...}
\author{...}
\date{ }
%literatros sraas======================================================
\begin{filecontents*}{x.bib}
...
\end{filecontents*}
%======================================================

%%% --------------------------------------------------------
\begin{document}
\maketitle
\vspace{-0.5cm}
{\small

\institution{...}
\address{...}

\vspace{2mm} \emaill{...}

%\dedication{}
}

\abstract{...}

\keywords{...}
% ----------------------------------------------------------

%\nocite{*}
\section*{vadas}
...

...



\section{...}

...
% ----------------------------------------------------------
\bibliographystyle{plain}
\bibliography{x}
\Summary{...}{...}{...}{...}
\end{document}
